<!DOCTYPE html>
<html lang="zh">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>

<body>
    <button onclick="fetch('/api/bd/pwd')">生成密码</button>

    <form action="/api/bd" method="POST">
        密码：<input name="pwd"><br>
        id：<input name="id" value="11939649100322"><br>
        教师<input name="teacher" type="checkbox"><br>
        <input type="submit">
    </form>

</body>

</html>